Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(nx-dev): generate migration detail pages #29580

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

isaacplmann
Copy link
Collaborator

@isaacplmann isaacplmann commented Jan 10, 2025

Generates list of migrations on the plugin overview page and a standalone /migrations page.

To add sample code changes for a migration that has an implementation file, create a .md file with the same name as the implementation file in the same folder as the implementation file. i.e. move-cache-directory.md for move-cache-directory.ts.

Migrations that have packages defined will have a table generated with the package updates listed.

Separate PRs will be created to add sample code changes for each migration with an implementation.

The migration list on the plugin overview page: Angular migrations
Standalone migration list page: Angular migrations
Sample migration with added markdown file details: 17.0.0-move-cache-directory
Sample migration with only package updates: Angular 20.4.0
Sample migration without any markdown file details: update-angular-cli-version-19-1-0

  • This last sample is very bare-bones and the reason why we need these pages in the first place. People don't know what migrations are actually doing. Follow up PRs will address pages like this.

Copy link

nx-cloud bot commented Jan 10, 2025

View your CI Pipeline Execution ↗ for commit f4369da.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 3m 43s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 25s View ↗
nx-cloud record -- nx format:check --base=a0cfe... ✅ Succeeded 5s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 1s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗
nx documentation --no-dte ✅ Succeeded <1s View ↗
nx affected -t e2e-macos-local --parallel=1 --b... ✅ Succeeded 8m 19s View ↗

☁️ Nx Cloud last updated this comment at 2025-01-23 13:00:47 UTC

Copy link

vercel bot commented Jan 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview Jan 23, 2025 0:05am

@leosvelperez
Copy link
Member

@isaacplmann do we plan to render the requirements some migrations have? I think it would make sense to do so as it adds clarity about why some migrations might run or not. Examples of those requirements:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants